package com.gae.blore.server;

import java.util.List;

import com.gae.blore.client.FireBrigateStationService;
import com.gae.blore.client.domain.FireBrigadeStation;
import com.gae.blore.server.dao.FireStationServiceDao;
import com.gae.blore.server.dao.IFireStationServiceDao;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

public class FireBrigadeStationServiceImpl extends RemoteServiceServlet
		implements FireBrigateStationService {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7815675460435858557L;
	private IFireStationServiceDao fireStationServiceDao = new FireStationServiceDao();

	@Override
	public List<FireBrigadeStation> getAllFireBrigadeStations() {
		return fireStationServiceDao.getFireStations();
	}

	@Override
	public FireBrigadeStation getFireBrigadeStation(Long id) {

		return fireStationServiceDao.getFireBrigadeStation(id);
	}

}
